package net.lcheng.vo;

import org.hibernate.validator.constraints.NotEmpty;

import java.util.Date;

/**
 * Created by zwr on 2016/7/5 0005.
 */
public class WxShopWeixinConfigModel {
    private String id;
    @NotEmpty(message = "公众号名称不能为空")
    private String name;
    @NotEmpty(message = "公众号Id不能为空")
    private String publicNumberId;
    @NotEmpty(message = "微信号不能为空")
    private String weixinNumber;
    @NotEmpty(message = "公众号不能为空")
    private String publicNumber;
    @NotEmpty(message = "AppSecret不能为空")
    private String appSecret;
    private Integer type;
    private Integer shopId;
    private String userId;
    private Date createOn;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPublicNumberId() {
        return publicNumberId;
    }

    public void setPublicNumberId(String publicNumberId) {
        this.publicNumberId = publicNumberId;
    }

    public String getWeixinNumber() {
        return weixinNumber;
    }

    public void setWeixinNumber(String weixinNumber) {
        this.weixinNumber = weixinNumber;
    }

    public String getPublicNumber() {
        return publicNumber;
    }

    public void setPublicNumber(String publicNumber) {
        this.publicNumber = publicNumber;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateOn() {
        return createOn;
    }

    public void setCreateOn(Date createOn) {
        this.createOn = createOn;
    }
}
